package com.jhgk.jhcee.system.domain.dao;


import com.jhgk.jhcee.data.auth.entity.SysUserInfo;
import com.jhgk.jhcee.system.domain.model.SysUserInfoModel;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @author: xiezhongping
 * @description:
 * @date: 2021/8/18 20:40.
 */
public interface SysUserInfoDao {

    SysUserInfo loadUserByUsername(@Param("username")String username);

    List<SysUserInfoModel> searchDetailList(SysUserInfoModel model);

    SysUserInfoModel searchUserDetail(@Param("userId")Long userId);
}
